package cn.tedu.charging.order.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * rabbit-mq配置类
 * 连接信息 用户名 密码...
 */
@Configuration
public class RabbitMQConfig {

    @Bean
    public Queue orderQueue(){
        return new Queue("order.queue");
    }

}
